package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师管理班级对应业务对象 pt_teacher_class
 *
 * @author ruoyi
 * @date 2022-03-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("教师管理班级对应业务对象")
public class PtSysTeacherClassBo extends BaseEntity {

    /**
     * 
     */
    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 教师id也就是用户id
     */
    @ApiModelProperty(value = "教师id也就是用户id", required = true)
    @NotNull(message = "教师id也就是用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long teacherId;

    /**
     * 班级id
     */
    @ApiModelProperty(value = "班级id", required = true)
    @NotNull(message = "班级id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;


}
